.reward-container {
  position: relative;
  padding: 1em 0;
  margin: 1em auto;
  width: 90%;
  text-align: center;
}

.reward-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3.5rem;
  margin: 0 auto;
  width: 20rem;
  display: none;
  animation: reward-ai .3s;
  &.active {
    display: block;
  }
}

@keyframes reward-ai {
  from {
    bottom: 1.5rem;
    opacity: 0;
  }
  to {
    bottom: 3.5rem;
    opacity: 1;
  }
}

.reward-box-card {
  border-radius: .5rem;
  box-shadow: 0 0 .3rem var(--shadow-color);
  background-color: var(--bg-color);
  padding: 1rem;
}

.reward-image {
  border-radius: .5rem;
  display: block;
}

.reward-image-url {
  border-radius: .5rem;
  display: block;
  margin: 0 2rem;
  padding: 0.5rem 0;
  background-color: var(--description-bg-color);
  border: 0;
}

.reward-group {
  width: fit-content;
  margin: 0 auto;
  border-radius: 5rem;
  box-shadow: inset 0 0 0 1px var(--shadow-color);
  height: 2rem;
  font-size: 1rem
}

.reward-button {
  position: relative;
  margin: 0 0 0 -0.3rem;
  padding: 0 0.8rem;
  border: 0;
  height: 2rem;
  line-height: 2rem;
  display: inline-block;
  color: var(--color);

  &:after {
    position: absolute;
    left: 0;
    top: 25%;
    display: inline-block;
    height: 1rem;
    width:1px;
    background-color: var(--shadow-color);
    content: '';
  }
}

.reward-button:first-child {
  padding-left: 1rem;
  margin: 0;
  &:after {
    width:0;
  }
}
.reward-button:last-child {
  padding-right: 1rem;
}
